package com.qf.mybatis01.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data//会为当前实体类自动生成setter，getter，toString
@AllArgsConstructor // 为当前实体类生成全参的构造函数
@NoArgsConstructor // 为当前实体类生成无参的构造函数
public class User {
    private Integer id;
    private String name;
    private String password;
    private String sex;
    private Date birthday;
    private Date registTime;
    private String auth;
}
